package com.scnu.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum GroupJoinType {
    NEED_APPLY(0,"needApply","需要申请"),
    FREE(1, "free","自由加入"),
    INVITE(2, "invite","邀请加入"),
    ;
    @EnumValue
    final Integer value;
    @JsonValue
    final String jsonValue;
    final String desc;


}